﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine.Events;

public class GlobalMessage
{
    #region 单例
    private GlobalMessage()
    {

    }
    private static GlobalMessage _instance;
    public static GlobalMessage Instance
    {
        get
        {
            if (_instance == null)
            {
                _instance = new GlobalMessage();
            }
            return _instance;
        }
    }
    #endregion
    public UnityAction GameOverEvent;

    public UnityAction GameSuccessEvent;

    public UnityAction<GrowUpRes> CollectResEvent;
}